package com.neusoft.elmboot.service.impl;

import com.neusoft.elmboot.mapper.UserMapper;
import com.neusoft.elmboot.po.User;
import com.neusoft.elmboot.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService{
    @Resource
    private UserMapper userMapper;
    @Override
    public List<User> selectUserList() {
        /*int currentPage = 0; //当前页码，默认为第一页
        int pageSize = 0; //每页显示条数，默认为5条
        if (userMapper.selectUserList()!=null){

        }*/
        return userMapper.selectUserList();
    }
}
